<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="./../common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
        <link rel="stylesheet" href="${ctx}/css/common.css">
		<script language="javascript">
	function checkPopedom(){
		var user = <%= session.getAttribute("user")%>;
		if(user == null){	
			document.getElementById("logined").style.display="none";
			document.getElementById("unlogined").style.display="block";
		}else{	
			document.getElementById("logined").style.display="block";
			document.getElementById("unlogined").style.display="none";
		}	
  	}
  	</script>
<style type="text/css">
	.tda{
		text-align: center;
	}
</style>
	</head>
<body onload="checkPopedom()">

<DIV class=top_menu>
<table border="0" cellpadding="0" cellspacing="0" id="logined" align="right">
									<tr>
										<td width="80" class="tda" align="center">
											<a style="color:#FFFFFF;" href="<s:url action="goVipAction"></s:url>">我的主页</a>&nbsp;
										</td>
										<td width="80" class="tda"  align="center">
											<a style="color:#FFFFFF;" href="<s:url action="logoutAction"></s:url>">退出系统</a>
											&nbsp;
										</td>
									</tr>
								</table>
<table border="0" cellpadding="0" cellspacing="0" id="unlogined" align="right">
									<tr>
										<td width="80" class="tda" align="center" >
											<a style="color:#FFFFFF;" href="${ctx}/regedit.jsp">快速注册</a>&nbsp;
										</td>
										<td width="80" class="tda"  align="center">
											<a style="color:#FFFFFF;" href="${ctx}/login.jsp">会员登录</a>
											&nbsp;
										</td>
									</tr>
								</table>
</DIV>
<!--<DIV class=top_menu id="unlogin">
	<DIV class=menu>
		<SPAN id=userLoginMsg></SPAN><a style="TEXT-DECORATION: none"
			href="${ctx}/regedit.jsp">快速注册</a>
		<a style="TEXT-DECORATION: none" href="${ctx}/login.jsp">会员登录</a>
	</DIV>
</DIV>
<DIV class=top_menu id="logined">
	<DIV class=menu>
		<SPAN id=userLoginMsg></SPAN><a style="TEXT-DECORATION: none"
			href="<s:url action="goVipAction"></s:url>">我的主页</a>
		<a style="TEXT-DECORATION: none" href="<s:url action="logoutAction"></s:url>">退出系统</a>
	</DIV>
</DIV>
	--></body>
</html>